package com.lvmama.finance.demo.elasticsearch.domain.jpa;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "sync_record")
public class SyncRecordEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "table_name")
	private String tableName;
	
	@Column(name = "last_sync_time")
	private Date lastSyncTime;
	
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Date getLastSyncTime() {
		return lastSyncTime;
	}

	public void setLastSyncTime(Date lastSyncTime) {
		this.lastSyncTime = lastSyncTime;
	}
}
